<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<script type="text/javascript"> 
$(function(){
	function get(y, callback) {
		$.get('/a/stat/ajax/stat?year='+y, function(data){
			$(".form").html(data);
			if(callback != undefined) {
				callback();
			}
		});
	}
	function checked(o) {
		$('.cbx').find('a').each(function(){
			$(this).removeClass('fcs');
			
		});
		$(o).addClass('fcs');
	}
	$('.cbx a').bind('click', function(){
		var _a = this;
		aju.ajaxBg(function() {
			aju.showLoading();
			var y = $(_a).html();
			checked(_a);
			get(y, function(){
				aju.hideLoading();
				aju.ajaxBgClose();
			});
		});
	});
	get('');
});
</script> 
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class=list>
<div class="listnav">
<div class="cbx">
<c:forEach var="c" begin="${yearS}" end="${yearE}">
<c:if test="${c==yearC}"><span><a class="fcs">${c}</a></span></c:if>
<c:if test="${c!=yearC}"><span><a>${c}</a></span></c:if>
</c:forEach>
</div>
</div>
</div>
<div class="form">

</div>
</div>
</div>
</body>
</html>